package com.wjk.cms.util.lottery;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class LotteryGameItemVO implements LotteryGameItem {

    String identifier;

    int probability;

    int remaining;

    String description;

    @Override
    public void decRemaining() {
        if (remaining <= 0) {
            return;
        }
        remaining--;
    }

}
